<%@ page language="java"  pageEncoding="UTF-8" contentType="text/html; charset=utf-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache"/>
<title>无标题文档</title>
<link rel="stylesheet" type="text/css" href="../resource/css/pagination2.css"></link>
<link rel="stylesheet" type="text/css" href="../resource/js/kindeditor/skins/default.css"></link>
<script type="text/javascript" src="../resource/js/jquery-1.4.2.js"></script>
<script type="text/javascript" src="../resource/js/pagination2.js"></script>
	  <link rel="stylesheet" href="../resource/js/kindeditor-4.1/themes/default/default.css" />
	<link rel="stylesheet" href="../resource/js/kindeditor-4.1/plugins/code/prettify.css" />
	<script charset="utf-8" src="../resource/js/kindeditor-4.1/kindeditor.js"></script>
	<script charset="utf-8" src="../resource/js/kindeditor-4.1/lang/zh_CN.js"></script>
	<script charset="utf-8" src="../resource/js/kindeditor-4.1/plugins/code/prettify.js"></script>
<script type="text/javascript" src="list3.js"></script>
<style type="text/css">
#con {
	font-size: 12px;
	width: 660px;
	height: auto;
	margin: 0px;
	float: left;
}
ol li {
	margin: 8px;
}
body {
	margin: 0px;
	padding: 0px;
	background-image: none;
	color: #0066cb;
	font-family: "宋体";
	font-size: 12px;
	width: 660px;
	height: 1240px;
}

#tags {
	height: 32px;
	line-height: 32px;
	font-size: 14px;
	width: 660px;
	float: left;
	margin: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	overflow: hidden;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #9fc9df;
}
#biankuang1 {
	height: 281px;
	width: 650px;
	float: left;
	padding: 0px;
	margin-top: 20px;
	margin-right: 0px;
	margin-bottom: 0px;
	border: 1px solid #CCC;
}
#biankuang {
	height: auto;
	width: 632px;
	float: left;
	overflow: hidden;
	padding: 0px;
	margin-top: 6px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}
#biankuang ul {
	margin: 0px;
	padding: 0px;
	float: left;
	height: auto;
	width: 632px;
	list-style-type: none;
}


#biankuang ul li {
	float: left;
	height: auto;
	width: 632px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #c7d4e1;
	font-size: 14px;
}
.px418px {
	background-image: url(../resource/img/index/folder_new.gif);
	background-repeat: no-repeat;
	background-position: left ;
	float: left;
	height: auto;
	width: 390px;
	padding-left: 23px;
	line-height: 34px;
}
.px418px_top {
	background-image: url(../resource/img/index/folder_top.gif);
	background-repeat: no-repeat;
	background-position: left center;
	float: left;
	height: auto;
	width: 390px;
	padding-left: 23px;
	line-height: 34px;
}
.px418px_jing {
	background-image: url(../resource/img/index/folder_jing.gif);
	background-repeat: no-repeat;
	background-position: left center;
	float: left;
	height: auto;
	width: 390px;
	padding-left: 23px;
	line-height: 34px;
}
.px418px a {
	color: #0066CB;
	text-decoration: none;
}
.px418px a:hover {
	color: #960;
}

.list-1 {
	background-image: url(../resource/img/index/list-1.jpg);
	background-repeat: no-repeat;
	background-position: left center;
	text-align: left;
	float: right;
	height: 24px;
	width: 93px;
	line-height: 24px;
	color: #002C58;
	padding-left: 4px;
}
#tags li {
	float: left;
	list-style-type: none;
	height: 32px;
	background-image: url(../resource/img/index/list1.jpg);
	background-repeat: repeat-x;
	background-position: left bottom;
	overflow: hidden;
	padding: 0px;
	margin-right: 5px;
	width: auto;
}
#tags li a {
	padding-left: 10px;
	float: left;
	padding-bottom: 0px;
	color: #002c58;
	line-height: 32px;
	padding-top: 0px;
	height: 32px;
	text-decoration: none;
	background-image: url(../resource/img/index/1-2-1.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	width: auto;
	font-family: "宋体";
	font-size: 13px;
	padding-right: 0px;
	overflow: hidden;
	margin: 0px;
}
#tags li a .bei {
	background-image: url(../resource/img/index/1-3-1.jpg);
	background-repeat: no-repeat;
	background-position: right bottom;
	height: 32px;
	padding-top: 0px;
	padding-right: 10px;
	padding-bottom: 0px;
	padding-left: 0px;
	float: left;
	overflow: hidden;
}

#tags li.emptyTag {
	background: none transparent scroll repeat 0% 0%; width: 4px;
}
#tags li.selectTag {
	height: 32px;
	line-height: 32px;
	background-image: none;
	background-repeat: repeat;
	background-position: left top;
	position: relative;
	float: left;
}
#tags li.selectTag a {
	line-height: 32px;
	background-image: url(../resource/img/index/1-1-1.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	float: left;
	height: 32px;
	padding-left: 10px;
	font-weight: bold;
	color: #FFF;
}
#tags li.selectTag a .bei {
	background-position: right bottom;
	color: #FFF;
	line-height: 32px;
	height: 32px;
	background-image: url(../resource/img/index/1-4-1.jpg);
	background-repeat: no-repeat;
	padding-right: 10px;
	float: left;
}
#tagContent {
	background-color: #fff;
	padding: 0px;
	float: left;
	height: auto;
	width: 660px;
	
}
.tagContent {
	display: none;
	color: #0066cb;
	height: auto;
	overflow: hidden;
	padding-bottom: 10px;
	float: left;
	width: 632px;
	border: 1px solid #7ccefe;
	padding-top: 10px;
	padding-left: 8px;
	padding-right: 8px;
}
#tagContent div.selectTag {
	display: block;
	float: left;
}
/*CSS sabrosus style pagination*/

DIV.sabrosus {
	MARGIN: 0px;
	TEXT-ALIGN: center;
	height: 30px;
	width: 620px;
	float: left;
	padding-top: 15px;
	padding-right: 6px;
	padding-bottom: 6px;
	padding-left: 6px;
}
.tritable{
}

DIV.sabrosus A {
        BORDER-RIGHT: #9aafe5 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #9aafe5 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 2px; BORDER-LEFT: #9aafe5 1px solid; COLOR: #2e6ab1; MARGIN-RIGHT: 2px; PADDING-TOP: 2px; BORDER-BOTTOM: #9aafe5 1px solid; TEXT-DECORATION: none
}
DIV.sabrosus A:hover {
        BORDER-RIGHT: #2b66a5 1px solid; BORDER-TOP: #2b66a5 1px solid; BORDER-LEFT: #2b66a5 1px solid; COLOR: #000; BORDER-BOTTOM: #2b66a5 1px solid; BACKGROUND-COLOR: lightyellow
}
DIV.pagination A:active {
        BORDER-RIGHT: #2b66a5 1px solid; BORDER-TOP: #2b66a5 1px solid; BORDER-LEFT: #2b66a5 1px solid; COLOR: #000; BORDER-BOTTOM: #2b66a5 1px solid; BACKGROUND-COLOR: lightyellow
}
DIV.sabrosus SPAN.current {
        BORDER-RIGHT: navy 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: navy 1px solid; PADDING-LEFT: 5px; FONT-WEIGHT: bold; PADDING-BOTTOM: 2px; BORDER-LEFT: navy 1px solid; COLOR: #fff; MARGIN-RIGHT: 2px; PADDING-TOP: 2px; BORDER-BOTTOM: navy 1px solid; BACKGROUND-COLOR: #2e6ab1
}
DIV.sabrosus SPAN.disabled {
        BORDER-RIGHT: #929292 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #929292 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 2px; BORDER-LEFT: #929292 1px solid; COLOR: #929292; MARGIN-RIGHT: 2px; PADDING-TOP: 2px; BORDER-BOTTOM: #929292 1px solid
}
.banner1 {
	height: 75px;
	width: 655px;
	margin-top: 2px;
	margin-right: auto;
	margin-bottom: 10px;
}
.right-banner {
	height: 60px;
	font-size: 14px;
	color: #0265cb;
	line-height: 21px;
	padding-top: 5px;
	padding-right: 10px;
	padding-left: 10px;
}
.tdB {
	border-bottom:1px solid #66ccff;
}

.tdL {
	border-left:1px solid #66ccff;
}
a:hover{
	text-decoration:none;
	color: #0CF;
}
</style>
<script language="javascript">
/*第一种形式 第二种形式 更换显示样式*/
function setTab(name,cursel,n){
 for(i=1;i<=n;i++){
  var menu=document.getElementById(name+i);
  var con=document.getElementById("con_"+name+"_"+i);
  menu.className=i==cursel?"hover":"";
  con.style.display=i==cursel?"block":"none";
 }
}
</script>
</head>

<body>
<div class="banner1" style="border: 1px #B4BEBF solid;">
<div class="right-banner" id="tgAnnouncementContent"  style="border: 0px">
    <script type="text/javascript">$("#tgAnnouncementContent").html('<font color=black>论坛公告：</font>'+tgAnnouncementContent)</script>
    </div>
    </div>
    
<div class="banner1" style="border: 1px #B4BEBF solid; height: 30px;">
<div class="right-banner" id="tgAnnouncementContent1"  style="border: 0px red solid;height: 25px;">
    <script type="text/javascript">
 		// 	$("#tgAnnouncementContent1").html('<div>追求的是足金足量的生活品味。联合更多的人，形成更大的力量，或等更低的'+'<span id="toMaster" style="cursor:pointer; float:right;margin-right:20px; font-size:12px;" onclick="toBeMaster();">&nbsp;我想成为版主</span></div>')
 		$("#tgAnnouncementContent1").html('<div style="width:500px;float: left;overflow: hidden;height: 25px;border: 0px black solid;">【<font color=black>版主：</font>'+masterUserName+'】</div><div id="toMaster" style="width:100px;float: right;height: 25px;border: 0px black solid;"><a href="#" onclick="toBeMaster();">我想成为版主</a></div>')
	</script>
    </div>
    </div>
    
<div id="con" style="border: 0px red solid; z-index: 15;">
   <ul id="tags">
    <li class="selectTag"><a onClick="selectTag('tagContent0',this)" href="javascript:void(0)"><span class="bei">全部主题</span></a></li>
    <li><a onClick="selectTag('tagContent1',this)" href="javascript:void(0)"><span class="bei">最新发表</span></a></li>
    <li><a onClick="selectTag('tagContent2',this)" href="javascript:void(0)"><span class="bei">最多点击</span></a></li>
    <li><a onClick="selectTag('tagContent3',this)" href="javascript:void(0)"><span class="bei">最多跟帖</span></a></li>
    <li><a onClick="selectTag('tagContent4',this)" href="javascript:void(0)"><span class="bei">精华帖</span></a></li>
    <li style="width: 273px;background: none;"><img src="../resource/img/index/img17.jpg" onclick="sendTie();" style="float: right;margin-top: 2px;cursor: pointer;"/></li>
  </ul>
  
  <div id="tagContent">
    <div class="tagContent selectTag" id="tagContent0">
    <table width="632" border="0" cellspacing="0" cellpadding="0">
	  <tr>
	    <td align="center" valign="top">
		  <table width="632" border="0" cellspacing="0" cellpadding="0">
			  <tr>
			    <td width="418px" align="left">主题/</td>
			    <td width="137px" align="left">作者 /</td>
			    <td width="77px" align="left">跟帖/浏览数</td>
			  </tr>
		  </table>
		</td>
	  </tr>
      <tr>
	    <td align="left">
		    <div id="biankuang" style="margin-bottom: 10px;">
		      <ul>
		       <span id="tieList0"></span>
		      </ul>
		    </div>
		    <div style="height: 30px;" id="pagenation0"></div>
	    </td>
  	</tr>
  	 <tr>
	    <td align="left">
		   <div id="pagenation0"></div>
	    </td>
  	</tr>
</table>
    </div>
    
    <div class="tagContent" id="tagContent1">
    <table width="632" border="0" cellspacing="0" cellpadding="0">
	  <tr>
	    <td align="center" valign="top">
		  <table width="632" border="0" cellspacing="0" cellpadding="0">
			  <tr>
			    <td width="418px" align="left">主题/</td>
			    <td width="137px" align="left">作者 /</td>
			    <td width="77px" align="left">跟帖/浏览数</td>
			  </tr>
		  </table>
		</td>
	  </tr>
      <tr>
    <td align="left">
	    <div id="biankuang" style="margin-bottom: 10px;">
	      <ul>
	       <span id="tieList1"></span>
	      </ul>
	    </div>
	    <div class="">
	      <div style="height: 30px;" id="pagenation1"></div>
	    </div>
    </td>
  </tr>
</table>
    </div>
    <div class="tagContent" id="tagContent2">
 <table width="632" border="0" cellspacing="0" cellpadding="0">
	  <tr>
	    <td align="center" valign="top">
		  <table width="632" border="0" cellspacing="0" cellpadding="0">
			  <tr>
			    <td width="418px" align="left">主题/</td>
			    <td width="137px" align="left">作者 /</td>
			    <td width="77px" align="left">跟帖/浏览数</td>
			  </tr>
		  </table>
		</td>
	  </tr>
      <tr>
    <td align="left">
	    <div id="biankuang" style="margin-bottom: 10px;">
	      <ul>
	       <span id="tieList2"></span>
	      </ul>
	    </div>
	    <div class="">
	     <div style="height: 30px;" id="pagenation2"></div>
	    </div>
    </td>
  </tr>
</table>
    </div>
    <div class="tagContent" id="tagContent3">
   <table width="632" border="0" cellspacing="0" cellpadding="0">
	  <tr>
	    <td align="center" valign="top">
		  <table width="632" border="0" cellspacing="0" cellpadding="0">
			  <tr>
			    <td width="418px" align="left">主题/</td>
			    <td width="137px" align="left">作者 /</td>
			    <td width="77px" align="left">跟帖/浏览数</td>
			  </tr>
		  </table>
		</td>
	  </tr>
      <tr>
    <td align="left">
	    <div id="biankuang" style="margin-bottom: 10px;">
	      <ul>
	       <span id="tieList3"></span>
	      </ul>
	    </div>
	    <div class="">
	      <div style="height: 30px;" id="pagenation3"></div>
	    </div>
    </td>
  </tr>
</table>
    </div>
    <div class="tagContent" id="tagContent4">
   <table width="632" border="0" cellspacing="0" cellpadding="0">
	  <tr>
	    <td align="center" valign="top">
		  <table width="632" border="0" cellspacing="0" cellpadding="0">
			  <tr>
			    <td width="418px" align="left">主题/</td>
			    <td width="137px" align="left">作者 /</td>
			    <td width="77px" align="left">跟帖/浏览数</td>
			  </tr>
		  </table>
		</td>
	  </tr>
      <tr>
    <td align="left">
	    <div id="biankuang" style="margin-bottom: 10px;">
	      <ul>
	       <span id="tieList4"></span>
	      </ul>
	    </div>
	    <div class="">
	      <div style="height: 30px;" id="pagenation4"></div>
	    </div>
    </td>
  </tr>
</table>
    </div>
    <!-- 
    <div class="tagContent" id="tagContent5">
  <table width="632" border="0" cellspacing="0" cellpadding="0">
	  <tr>
	    <td align="center" valign="top">
		  <table width="632" border="0" cellspacing="0" cellpadding="0">
			  <tr>
			    <td width="418px" align="left">主题/</td>
			    <td width="137px" align="left">作者 /</td>
			    <td width="77px" align="left">跟帖/浏览数</td>
			  </tr>
		  </table>
		</td>
	  </tr>
      <tr>
    <td align="left">
	    <div id="biankuang">
	      <ul>
	       <span id="tieList5"></span>
	      </ul>
	    </div>
	    <div class="sabrosus">
	      <span class="disabled">&lt; </span><span class="current">1</span><a href="#?page=2">2</a><a href="#?page=3">3</a><a href="#?page=4">4</a><a href="#?page=5">5</a><a href="#?page=6">6</a><a href="#?page=7">7</a>...<a href="#?page=199">199</a><a href="#?page=200">200</a><a href="#?page=2"> 
	        &gt; </a>
	    </div>
    </td>
  </tr>
</table>
    </div>
   -->  
    
  </div>
</div>
  

<script type="text/javascript">
function selectTag(showContent,selfObj){
	//标签
	var tag = document.getElementById("tags").getElementsByTagName("li");
	var taglength = tag.length;
	for(i=0; i<taglength; i++){
		tag[i].className = "";
	}
	selfObj.parentNode.className = "selectTag";
	//标签内容
	for(i=0; j=document.getElementById("tagContent"+i); i++){
		j.style.display = "none";
	}
	document.getElementById(showContent).style.display = "block";
	getDataByTagId(showContent,'','');
}
    var pageNo = '';
  	var limit = '30';
  	var totalRecords = '';
  	var showContentNum = "";
	pageno_warning_text = "输入的页码不是数字，请重新输入！";
	
$.get('../tribune/tribune_loadTie.shtml?type=0&pageNo='+pageNo+'&limit='+limit+'&t='+new Date().getTime().toString(36),function(mes){
	var json = eval('('+mes+')');
	if(json=='')return;
	pageNo = json[0]['pageNo'];
	 limit = json[0]['pageSize'];
	totalRecords = json[0]['totalRecords'];
	showContentNum = 'tagContent0';
			var str ='';
			for(var i = 0; i < json[0]['list'].length; i++){
				if(json[0]['list'][i]['isTop']=='1')
					str+='<li><table width="632" border="0" cellspacing="0" cellpadding="0"><tr><td width="418px" align="left" vlign="top"><div class="" style="height: auto;width: 390px;line-height: 29px;"><img src="../resource/img/index/folder_top.gif">';
				else if(json[0]['list'][i]['isMarrow']=='1')
					str+='<li><table width="632" border="0" cellspacing="0" cellpadding="0"><tr><td width="418px" align="left"><div class="" style="height: auto;width: 390px;line-height: 29px;"><img src="../resource/img/index/folder_jing.gif">';
				else
					str+='<li><table width="632" border="0" cellspacing="0" cellpadding="0"><tr><td width="418px" align="left"><div class="" style="height: auto;width: 390px;line-height: 29px;"><img src="../resource/img/index/folder_new.gif">';
				str+='&nbsp;&nbsp;<a href="../tribune/tribune_searchById.shtml?id='+json[0]['list'][i]['id']+'" target="_blank" >'+json[0]['list'][i]['title'];
				if(json[0]['list'][i]['imgFlag']=='1')
// 					str+='【图片】';
					str+='<img src="../resource/img/image_s.gif">';
				str+='</a></div></td>';
			    str+='<td width="137px" align="left" style="font-size:12px">'+json[0]['list'][i]['authorName']+'<br />';
			    str+='<span style="color:#999">'+json[0]['list'][i]['createTimeString']+'</span></td>';
			    str+='<td width="77px" align="left">'+json[0]['list'][i]['flowCount']+'/'+json[0]['list'][i]['viewCount']+'</td>';
				str+=' </tr></table></li>';
			}
			$('#tieList0').html(str);
	pagination({
		totalRecords : totalRecords,pageNo:pageNo,limit:limit,id:'pagenation0',showPages:5,uri:function(pageNo,limit){
			searchPagenation(pageNo,limit)
		}
	})
});

function getDataByTagId(showContent,pageNo,limit){
	$.get('../tribune/tribune_loadTie.shtml?type='+showContent.substring(showContent.length-1,showContent.length)+'&pageNo='+pageNo+'&limit='+limit+'&t='+new Date().getTime().toString(36),function(mes){
	var json = eval('('+mes+')');
	if(json=='')return;
	pageNo = json[0]['pageNo'];
	limit = json[0]['pageSize'];
	totalRecords = json[0]['totalRecords'];
	showContentNum = showContent;
			var str ='';
			for(var i = 0; i < json[0]['list'].length; i++){
				if(json[0]['list'][i]['isTop']=='1')
					str+='<li><table width="632" border="0" cellspacing="0" cellpadding="0"><tr><td width="418px" align="left" vlign="top"><div class="" style="height: auto;width: 390px;line-height: 29px;"><img src="../resource/img/index/folder_top.gif">';
				else if(json[0]['list'][i]['isMarrow']=='1')
					str+='<li><table width="632" border="0" cellspacing="0" cellpadding="0"><tr><td width="418px" align="left"><div class="" style="height: auto;width: 390px;line-height: 29px;"><img src="../resource/img/index/folder_jing.gif">';
				else
					str+='<li><table width="632" border="0" cellspacing="0" cellpadding="0"><tr><td width="418px" align="left"><div class="" style="height: auto;width: 390px;line-height: 29px;"><img src="../resource/img/index/folder_new.gif">';
				str+='&nbsp;&nbsp;<a href="../tribune/tribune_searchById.shtml?id='+json[0]['list'][i]['id']+'" target="_blank" >'+json[0]['list'][i]['title'];
				if(json[0]['list'][i]['imgFlag']=='1')
// 					str+='【图片】';
					str+='<img src="../resource/img/image_s.gif">';
				str+='</a></div></td>';
			    str+='<td width="137px" align="left" style="font-size:12px">'+json[0]['list'][i]['authorName']+'<br />';
			    str+='<span style="color:#999">'+json[0]['list'][i]['createTimeString']+'</span></td>';
			    str+='<td width="77px" align="left">'+json[0]['list'][i]['flowCount']+'/'+json[0]['list'][i]['viewCount']+'</td>';
				str+=' </tr></table></li>';
			}
			$('#tieList'+showContent.substring(showContent.length-1,showContent.length)).html(str);
	pagination({
		totalRecords : totalRecords,pageNo:pageNo,limit:limit,id:'pagenation'+showContent.substring(showContent.length-1,showContent.length),showPages:5,uri:function(pageNo,limit){
			searchPagenation(pageNo,limit)
		}
	})
	});
}
function openTie(id){
	window.top.location='../tribune/tribune_searchById.shtml?id='+id;
}

function searchPagenation(pageNo,limit){
	getDataByTagId(showContentNum,pageNo,limit);
	parent.$("#banner1").focus();
  		//window.location.href = '../tssKnowledge/fastSearch.action?keyword='+encodeURIComponent(keyword)+'&type='+type+'&pageno='+pageno+'&limit='+limit;
}
function toBeMaster(){
if('${sessionScope.userinfo.id}'==''){
	alert('请先登录！');
	return false;
}
	$.get('../tribuneMaster/tribuneMaster_toBeMaster.shtml?t='+new Date().getTime().toString(36),function(msg){
		var obj = eval('(' + msg + ')');
		var result = obj[0]["message"];
		alert(result);
		$("#toMaster").hide();
	});
}
function sendTie(){
	if('${sessionScope.userinfo.id}'==''){
		alert('请先登录！');
		return false;
	}
	if(userType!='1'&&userType!='2'&&userType!='3'){
		alert('对不起，您的等级不够，无法发帖！');
		return false;
	}
	var heihtTemp = GetPageScroll();
	$("#joinDiv").css("top", (heihtTemp + 60) + 'px').css("left",
			(bodyWidth - 600) / 2 + "px");
	$("#grayDiv,#joinDiv").show();
	$("#flexDiv").hide();
	//parent.window.location.href='<%=basePath %>tribune/tribune_julebuPage.shtml?#002';
}

</script>
<script type="text/javascript">

  var editor;
        KindEditor.ready(function(K) {
		               editor = K.create('#content', {
		               allowFileManager : true,
		               uploadJson : '../resource/js/kindeditor-4.1/upload_json.jsp',
				       fileManagerJson : '../resource/js/kindeditor-4.1/file_manager_json.jsp',
                       items : [
					 	        'source', '|', 'undo', 'redo', '|', 'cut', 'copy', 'paste',
						         '|', 'justifyleft', 'justifycenter', 'justifyright',
						        'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript',
						        'superscript', 'clearhtml', 'quickformat', 'selectall', '|', 
						        'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold',
						        'italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', '|', 'image',
						        'table', 'hr', 'emoticons', 'map', 'link', 'unlink'
                  ]
                        
                });
        });
			
</script>
</body>
</html>
